﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SaturniLibrary.Cache
{
    public interface ICacheAPI
    {
        void Add(string key, object value, int expiredSeconds);
        void Remove(string key);
        object Get(string key);
        bool Contains(string key);
        long Size();
        void Flush();
        void Update(string key, object value, int expiredSeconds = 0);
    }
}
